import { createApp } from 'vue'
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
import App from './App.vue'
import router from './router'
import store from './store'
import axios from 'axios'

// var ip = 'http://127.0.0.1:8000/';
var ip = "http://120.46.154.93:8080/";

axios.defaults.baseURL = ip + "api";

const app = createApp(App)
app.use(ElementPlus)
app.use(store).use(router)
app.config.globalProperties.$ip = ip;
app.mount('#app')
